<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * 左侧菜单栏
 */
$config['menu'] = [
                    [
                            'name' => '系统设置',
                            'method' => '',
                            'icon' => 'fa fa-cogs',
                            'active'=>['account'],
                            'role'=> 'SystemManager',
                            'child' => [
                                    [
                                            'name' => '账号管理',
                                            'method' => '/luckydog/account/accountlist',
                                            'icon' => 'fa fa-circle-o',
                                            'active'=>'account',
                                            'role'=> 'SystemManagerAccount'
                                    ]
                            ],
                    ],
                    [
                            'name' => '会员管理',
                            'method' => '',
                            'icon' => 'fa fa-user',
                            'active'=>['user'],
                            'role'=> 'UserManager',
                            'child' => [
                                    [
                                            'name' => '用户管理',
                                            'method' => '/luckydog/user/index',
                                            'icon' => 'fa fa-circle-o',
                                            'active'=>'user',
                                            'role'=> 'UserManagerList'
                                    ]
                            ],
                    ],
                    [
                            'name' => '轮播管理',
                            'method' => '',
                            'icon' => 'fa fa-indent',
                            'active'=>['ad'],
                            'role'=> 'AdManager',
                            'child' => [
                                    [
                                            'name' => '资讯轮播图',
                                            'method' => '/luckydog/ad/index',
                                            'icon' => 'fa fa-circle-o',
                                            'active'=>'ad',
                                            'role'=> 'AdManagerAd'
                                    ]
                            ],
                    ],
                    [
                            'name' => '商品相关',
                            'method' => '',
                            'icon' => 'fa  fa-rmb ',
                            'active'=>['category','itemlist'],
                            'role'=> 'GoodsManager',
                            'child' => [
                                    [
                                            'name' => '商品分类',
                                            'method' => '/luckydog/category',
                                            'icon' => 'fa fa-circle-o',
                                            'active'=>'category',
                                            'role'=> 'GoodsManagerCat'
                                    ],
                                    [
                                            'name' => '商品列表',
                                            'method' => '/luckydog/Item/index',
                                            'icon' => 'fa fa-circle-o',
                                            'active'=>'itemlist',
                                            'role'=> 'GoodsManagerList'
                                    ],
                            ],
                    ],
                    [
                            'name' => '意见反馈管理',
                            'method' => '',
                            'icon' => 'fa fa-envelope-o',
                            'active'=>['feedback'],
                            'role'=> 'FeedbackManager',
                            'child' => [
                                    [
                                            'name' => '意见反馈列表',
                                            'method' => '/luckydog/feedback/index',
                                            'icon' => 'fa fa-circle-o',
                                            'active'=>'feedback',
                                            'role'=> 'FeedbackManagerList'
                                    ],
                            ],
                    ]
                ];
